

import logging
log = logging.getLogger(__name__)

class AuthorizationProvider(object):
    '''Base class for AuthorizationProvider objects
    
    '''
    
    def __init__(self, provider_opts = None):
        provider_opts = provider_opts or {}
        self.options = provider_opts
    
    def get_user():
        '''
        return a user object
        '''
        raise NotImplementedError
        
    def initialize_storage():
        '''
        Used to initialize a user database, file, etc.
        '''
        raise NotImplementedError
